//
//  GWStatuseModel.h
//  新浪微博
//
//  Created by qianfeng on 16/1/15.
//  Copyright (c) 2016年 高炜. All rights reserved.
//

#import <Foundation/Foundation.h>
@class GWUserModel;
@interface GWStatuseModel : NSObject
/** 	string 	微博创建时间*/
@property (nonatomic, copy) NSString *created_at;

/** 	string 	字符串型的微博ID*/
@property (nonatomic, copy) NSString *idstr;

/** 	string 	微博信息内容*/
@property (nonatomic, copy) NSString *text;
/** 	string 	微博信息富文本内容*/
@property (nonatomic, copy) NSAttributedString *attributedText;

/** 	string 	微博来源*/
@property (nonatomic, copy) NSString *source;

/** 	object 	微博作者的用户信息字段 详细*/
@property (nonatomic, strong) GWUserModel *user;

/** 	object 	被转发的原微博信息字段，当该微博为转发微博时返回 详细*/
@property (nonatomic, strong) GWStatuseModel *retweeted_status;

/** 	是否为转发微博*/
@property (nonatomic, assign,getter=isRetweeted) BOOL retweeted;

/** 	是否为细节展示页面*/
@property (nonatomic, assign,getter=isDetail) BOOL detail;

/** 	int 	转发数*/
@property (nonatomic, assign) int reposts_count;

/** 	 int 	评论数*/
@property (nonatomic, assign) int comments_count;

/** 	 int 	表态数*/
@property (nonatomic, assign) int attitudes_count;

/** 	 object 	微博配图地址。多图时返回多图链接。无配图返回“[]”  数组里面都是HMPhoto模型*/
@property (nonatomic, strong) NSArray *pic_urls;
@end



@interface GWUserModel : NSObject

/** string 	友好显示名称 */
@property (nonatomic, copy) NSString *name;

/** string 	用户头像地址（中图），50×50像素 */
@property (nonatomic, copy) NSString *profile_image_url;

/** 会员类型 */
@property (nonatomic, assign) int mbtype;

/** 会员等级 */
@property (nonatomic, assign) int mbrank;

@property (nonatomic,assign,readonly,getter=isVip)BOOL vip;
@end


@interface GWPhotoModel : NSObject
/** 缩略图 */
@property (nonatomic, copy) NSString *thumbnail_pic;

/** 大图 */
@property (nonatomic, copy) NSString *bmiddle_pic;
@end